package com.xb.cloud.shopping.model;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class PaymentConfig {

	@Value("${pingan_open_url}")
	public void setOpenUrl(String open_url) {
		PaymentConfig.OPEN_URL = open_url;
	}
	
	@Value("${pingan_notify_url}")
	public void setNotifyUrl(String notifyUrl) {
		PaymentConfig.NOTIFY_URL = notifyUrl;
	}
	
	
	@Value("${pingan_jump_url}")
	public void setJumpUrl(String jumpUrl) {
		PaymentConfig.JUMP_URL = jumpUrl;
	}
	
	
	
	public static String NOTIFY_URL = "";
	public static String JUMP_URL = "";
	
	public static String OPEN_URL = "https://mixpayuat4.orangebank.com.cn/mct1/";
	public static String PAYLIST = "paylist";
	public static String ORDERLIST = "order";
	public static String ORDERVIEW = "order/view";
	public static String PAYORDER = "payorder";
	public static String QUERYPAYSTATUS = "paystatus";
	public static String PAYCANCEL = "paycancel";
	public static String PAYREFUND = "payrefund";
}
